define(['model/package', '../config'], function(Package, Config) {
  return Backbone.Collection.extend({

    url: Config.server_url + '/packages?access_token=123',

    model: Package,

    parse: function(data) {
      if(data.code == 200) {
        return data.packages;
      }
    }


  });
});